<?php

/* $Id$ */

class OrkutSignatureMethod extends OAuthSignatureMethod_RSA_SHA1 {
    protected function fetch_public_cert(&$request) {
        return file_get_contents('cert/orkut.cer');
    }
}


class MyspaceSignatureMethod extends OAuthSignatureMethod_HMAC_SHA1 {
    public function check_signature($request, $consumer, $token, $signature){
        return $this->build_signature($request, $consumer, $token) == $signature;
    }
}


